import { ref } from 'vue'
import getSomeImage from "../../../utils/getSomeImage.js";

const imgArr = ref("");

const getNewImage = () => {
  return new Promise((resolve) => {
    getSomeImage().then((res) => {
      imgArr.value = res[0];
      resolve(imgArr.value)
    })
  })
}

export default getNewImage